Platform Explorer / Nuxeo Platform 2023.22

Contribution org.nuxeo.drive.adapters.hierarchy.userworkspace--fileSystemItemFactory

This contribution is part of XML component org.nuxeo.drive.adapters.hierarchy.userworkspace inside nuxeo-drive-core-2023.22.13.jar /OSGI-INF/nuxeodrive-hierarchy-userworkspace-adapter-contrib.xml

Extension Point

Extension point fileSystemItemFactory of component FileSystemItemAdapterService.

Registration Order

1
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <fileSystemItemFactory class="org.nuxeo.drive.hierarchy.userworkspace.factory.UserWorkspaceSyncRootParentFactory" name="userWorkspaceSyncRootParentFactory" order="30">
          <parameters>
            <parameter name="folderName">My synchronized folders</parameter>
          </parameters>
        </fileSystemItemFactory>
  • <fileSystemItemFactory class="org.nuxeo.drive.hierarchy.userworkspace.factory.UserWorkspaceSyncRootFactory" facet="DriveSynchronized" name="userWorkspaceSyncRootFactory" order="40">
          <parameters>
            <parameter name="syncRootParentFactory">userWorkspaceSyncRootParentFactory
            </parameter>
          </parameters>
        </fileSystemItemFactory>

XML Source

<extension point="fileSystemItemFactory" target="org.nuxeo.drive.service.FileSystemItemAdapterService">

    <!-- Synchronization root parent factory: order before the "userWorkspaceSyncRootFactory"
      that has an order of 40 and before the "defaultFileSystemItemFactory" that
      has an order of 50 -->
    <fileSystemItemFactory class="org.nuxeo.drive.hierarchy.userworkspace.factory.UserWorkspaceSyncRootParentFactory" name="userWorkspaceSyncRootParentFactory" order="30">
      <parameters>
        <parameter name="folderName">My synchronized folders</parameter>
      </parameters>
    </fileSystemItemFactory>

    <!-- Synchronization root factory: order before the "defaultFileSystemItemFactory"
      that has an order of 50 -->
    <fileSystemItemFactory class="org.nuxeo.drive.hierarchy.userworkspace.factory.UserWorkspaceSyncRootFactory" facet="DriveSynchronized" name="userWorkspaceSyncRootFactory" order="40">
      <parameters>
        <parameter name="syncRootParentFactory">userWorkspaceSyncRootParentFactory
        </parameter>
      </parameters>
    </fileSystemItemFactory>

  </extension>